Latest Questions

shape '[1]' is invalid for input of size 2048

I am trying the extract features from images using resnet 152 model. It was working just fine with resnet18 model but when I try to use resnet152 model, it show

c# Cefsharp how to make correct sequence of JavaScript actions on the web site

These sequences of actions work with Thread.Sleep, somewhere in 1 second, somewhere in 2 seconds. I think using Thread.Sleep/Task.Delay is not good. Because it

Command failed: adb shell am start

Getting error while trying to run this command npx react-native run-android for my react native android app

Rails 7 css assets are not working in production, need help understanding how the asset pipeline works without webpacker

Trying out rails 7, with tailwind and postcss. I have a few stylesheets in assets/stylesheets, which I import through a file called imports.css in the same fold

Dependencies issue while installing model card toolkit

Model Card --> Model Card toolkit I want to install a model card toolkit in my python virtual environment through this command: pip install model-card-toolk

Count and list all values

I'm trying to loop through cells of a specific column, find new values in those cells, count how many times a specific value is found and return the values alon

Challenge: Short-Circuiting a Loop - Interview Practice

Question: Complete the function holidays that accepts an array of strings and iterates through the array. If the array contains the string "October", return "Ha

Blender to unity animation issues

I have a model with animations in blender, which I then put into my unity file as a FBX file. Anyone know what I did wrong?

OS X: #include <CoreFoundation/CoreFoundation.h> leads to error: unknown type name 'dispatch_block_t'

$ cat t1.c #include <CoreFoundation/CoreFoundation.h> $ gcc t1.c In file included from /usr/include/dispatch/dispatch.h:51, from /System

How to test getters in a state class using bloc_test?

Say I have a state class class MyState extends Equatable { final bool isSaving; final String errorMsg; const MyState({ this.isSaving = false, thi

Evaluate a Google Sheets math expression with formula

I have some strings inside Google Sheets, containing simple arithmetic expressions: Is there a way to evaluate these expressions without the need for writing a

How to make the graphics for a Graph theory undirected graph

I have been trying for the last few days to implement a graph into a C# Windows Forms app, but I have been unsuccessful at this task. I haven't been able to fin

Snowflake View too slow to query with dynamic pivot

I have created a stored procedure in Snowflake to dynamically pivot the table and create a view from JSON data. The query creates a view with 370 columns as I d

how do I save the videos in an specific bitrate using ffmpeg?

I am trying to save some videos in specific bitrate (8000k) and for this, I used the following code: ffmpeg -i input_1080p60 -c:v libx264 -pix_fmt yuv420p

Scroll inside div doesn't wrk with Puppeteer

I try to scroll area inside div using Puppeteer. I tried to follow these answers: https://stackoverflow.com/a/67490337 and https://stackoverflow.com/a/52031392

Django: The QuerySet value for an exact lookup must be limited to one result using slicing

i am tring to access a page using a slug url, but i keep getting this error The QuerySet value for an exact lookup must be limited to one result using slicing.

SwiftUI navigationLink isActivie not working [closed]

Purpose My intention is to come back from view3 and return directly to view1 Current Status My view hierarchy here is view1 -> view2 ->

Celery task is pending in the browser but succeeded in the python shell of Django

I'm using Django, Celery, and RabbitMQ for simple tasks on Ubuntu but celery gives no response. I can't figure out why the task is pending in the browser, while

How to know if a support library already supports AndroidX?

I have project in unity, that uses Mapbox, Mapbox includes the following support library: support-v4-25.1.0.aar This library comes as an .aar file and NOT as a

conda install and network issues

I am running: conda install spyder-kernel=2.1 and get back: Collecting package metadata (current_repodata.json): failed CondaHTTPError: HTTP 000 CONNECTION FA

The argument type 'RxString' can't be assigned to the parameter type 'String'

I try to use the GetX framework in flutter for my project. but it shows the Error regarding RxString. whenever I try to use the Obx method to call the controlle

Error using C++/CLI dll in Azure function (zip deployed)

So I have: a c++/cli wrapper withini a clr c++ dll a c# net6 azure function which is referencing the c++/cli project The issue: It works perfectly when I'm test

How to bypass field does not exist within the DocumentSnapshotPlatform

I'm receiving this error because some of my contents don't have ['ses'] in firestore. Half of the contents have this and the other half do not have it. How can

What does MOSIX error #96 with mosrun mean?

I am trying to use mosrun on a shell script on Ubuntu with MOSIX. Currently I am only using 2 nodes and I am sure they are connected to each other properly. Her

rewrite rule code is not working for deep pages

I write some rewrite rule to manipulate the first folder after domain address as a query string indicating the language. <rule name="en"> <match url="^

How to make an accent insensitive `MATCH() AGAINST()` sentence?

I have a table called products which has a varchar column called name encoded in latin1_swedish_ci. I'm trying to make a search query in order to filter product

How to "inspect to file" (or to string) in Elixir?

In Elixir, we can IO.inspect anyStructure to get anyStructure's internals printed to output. Is there a similar method to output it to a file (or, as a more fle

Write a C function GetEvenNumber

For my studies, I have to write a C function GetEvenNumber: parameters: array with n integers + array size; returns tr array which contains even integers from t

Systemd unit file escaping issue

I am wanting to generate a secret key for a django project, that runs using podman run --new, so it generates a new container from scratch when the machine is r

Run Powershell script after the first one finished

How to modify the code be more neatly to make the first powershell function finished before starting the next one. Echo Clean Windows\Temp Fol